Skip to content

Feat/report visual charts#16

Merged
study8677 merged 6 commits into
study8677:mainfrom
BBear0115:feat/report-visual-charts
May 9, 2026
Merged

Feat/report visual charts#16
study8677 merged 6 commits into
study8677:mainfrom
BBear0115:feat/report-visual-charts

Conversation

@BBear0115
Copy link
Copy Markdown
Contributor

Summary

  • What changed?
  • Why does it matter?

Verification

  • Commands run:
  • Manual checks:
  • Screenshots or notes:

Checklist

  • The change is focused and scoped to one topic
  • Relevant tests and builds were run
  • Docs were updated if behavior or configuration changed
  • My commits use an email linked to my GitHub account or my GitHub noreply email
  • If I used AI or automation, human attribution is preserved via the commit author or Co-authored-by

BBear0115 and others added 6 commits April 13, 2026 00:01
- Add deploy.sh: main deployment script with automatic SSL certificate fixes
- Add scripts/fix_ssl_server.sh: server-side SSL certificate repair
- Add scripts/diagnose.sh: diagnostic tool for deployment issues
- Add scripts/README.md: detailed documentation and troubleshooting guide
- Update CLAUDE.md: document GitHub Potential Users feature and public site

Key features:
- Automatic Python SSL certificate detection and repair (macOS/Linux)
- Detailed error handling for 8 common deployment issues
- Pre-flight checks and post-deployment verification
- Support for Chinese error messages and fix instructions
- Color-coded logging for better readability
Remove deploy.sh and scripts/* (BWG-targeted, port 8080 — conflict with
current production topology where newyork:8081 is primary). Revert
CLAUDE.md text describing GitHub-leads/marketing-site features that
belong to a separate change set. Keep only the report-charts work.
- Restrict chart <img> rendering to /api/v1/report-assets/{32-hex}.svg
  whitelist; non-matching markdown images fall back to escaped paragraph.
- Detect existing chart references by asset URL instead of literal heading
  text (LLM produces variants that bypassed the old "## 数据图表速览" check
  and caused duplicate chart sections).
- Delete generated SVG assets when human-report generation fails after the
  fallback path, preventing orphan files in ~/.opencmo/report_assets/.
- Tests now exercise the asset endpoint via TestClient (real ASGI path),
  lock the URL whitelist policy with rejection cases, cover the new
  asset-URL dedup, and verify the cleanup helper.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@study8677 study8677 merged commit 7c48156 into study8677:main May 9, 2026
3 checks passed
@study8677 study8677 mentioned this pull request May 9, 2026
study8677 added a commit that referenced this pull request May 9, 2026
The Cursor showcase only had partial data (no competitors or keywords),
which underplayed the product. Replace with two production scans that
expose concrete signals:

- Coze (AI agent platform): 50 keywords, 326 SERP snapshots, 153 GitHub
  leads, auto-discovered Dify/FastGPT/OpenAI GPTs, citability regression
  alert.
- DigiGrow (UK SaaS): 672 SERP rank checks across 54 keywords, 34
  actionable insights, real signal — keyword fell from #2 to #16 in 24h
  and was pushed as an insight without anyone polling the dashboard.

Translated to all five locales. Drops the now-stale docs/showcase/cursor/
data dump.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants